/*

Author   : chaos

FileName : overloading.cpp

Date     : 15/08/17 11:12:44

*/
#include <iostream>
using namespace std;

class Base
{
    public:
        void show()
        { cout << "Base::show() is called!" << endl; }
};

class Derived:public Base
{
    public:
        void show(int i)
        { cout << "Derived::show() is called" << endl; }

        using Base::show;
};

int main(int argc ,char *argv[])
{
    Derived A_Derived;

    A_Derived.show(5);

    A_Derived.show();

    return 0;
}
